cmake_minimum_required(VERSION 2.8.0)

project(common)

set(THIRD_PARTY_DEP_PATH ${PROJECT_SOURCE_DIR}/../third_party/deps/linux_x64)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories(
  ${THIRD_PARTY_DEP_PATH}/glog/include
  ${THIRD_PARTY_DEP_PATH}/gflags/include
)

link_directories(
  ${THIRD_PARTY_DEP_PATH}/glog/lib
  ${THIRD_PARTY_DEP_PATH}/gflags/lib
)

add_subdirectory(base)
add_subdirectory(tool)

